<template>
  <a-layout-content class="app-content">
    <router-view v-slot="{ Component }">
      <keep-alive>
        <component :is="Component" />
      </keep-alive>
    </router-view>
  </a-layout-content>
</template>

<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  setup() {
    // const key = router.fullPath
    const key = Date.now()

    return {
      key
    }
  }
})
</script>

<style>

</style>
